.class final Lcom/direction/hold/ui/i;
.super Ljava/lang/Thread;


# instance fields
.field private a:Z

.field private b:Ljava/lang/String;

.field private synthetic c:Lcom/direction/hold/ui/SearchActivity;


# direct methods
.method public constructor <init>(Lcom/direction/hold/ui/SearchActivity;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/i;->c:Lcom/direction/hold/ui/SearchActivity;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    iput-object p2, p0, Lcom/direction/hold/ui/i;->b:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public final a()Z
    .locals 1

    iget-boolean v0, p0, Lcom/direction/hold/ui/i;->a:Z

    return v0
.end method

.method public final run()V
    .locals 2

    :try_start_0
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "inputkeyWords --"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/direction/hold/ui/i;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/i;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/i;->c:Lcom/direction/hold/ui/SearchActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/SearchActivity;->L:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    iget-object v0, p0, Lcom/direction/hold/ui/i;->c:Lcom/direction/hold/ui/SearchActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/SearchActivity;->a(Lcom/direction/hold/ui/SearchActivity;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/direction/hold/ui/i;->a:Z

    return-void

    :cond_0
    :try_start_1
    const-string v0, "dataChanged -- b"

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    const-string v0, "dataChanged -- a"

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    iget-object v1, p0, Lcom/direction/hold/ui/i;->c:Lcom/direction/hold/ui/SearchActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/SearchActivity;->K:Lcn/cheln/explorer/ui/SearchListViewHolder;

    iget-boolean v1, v1, Lcn/cheln/explorer/ui/SearchListViewHolder;->g:Z

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    const/4 v1, 0x7

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/direction/hold/ui/i;->c:Lcom/direction/hold/ui/SearchActivity;

    invoke-static {v1}, Lcom/direction/hold/ui/SearchActivity;->a(Lcom/direction/hold/ui/SearchActivity;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method
